package com.ncp.model.biz.util;
/**
 * 处理提交评论时的中文乱码
 * @author huyan
 *
 */
public class Character {
	
	/**
	 * 
	 * @param s传入待处理的字符串
	 * @return
	 */
	public static String setCharacter(String s){
		try {
			s=new String(s.getBytes("iso-8859-1"),"utf-8");
		} catch (Exception e) {
			e.printStackTrace();
		}
		return s;
	}
}
